﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace Authority.Model
{
    /// <summary>
    /// 角色授权-菜单列表返回信息
    /// </summary>
    public class RoleMenusListResponse
    {
        /// <summary>
        /// 唯一标识符
        /// </summary>
        public string gCode
        {
            get; set;
        }

        /// <summary>
        /// 父节点标识符
        /// </summary>
        public string gParentCode
        {
            get; set;
        }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public string sName
        {
            get; set;
        }

        /// <summary>
        /// 等级
        /// </summary>
        public int? iLevel
        {
            get; set;
        }

        /// <summary>
        /// icon
        /// </summary>
        public string sIconFont
        {
            get; set;
        }

        /// <summary>
        /// 链接
        /// </summary>
        public string sUrl
        {
            get; set;
        }

        /// <summary>
        /// 排序
        /// </summary>
        public int iSort
        {
            get; set;
        }

        /// <summary>
        /// 是否被选中
        /// </summary>
        [JsonProperty("lay_is_checked")]
        public bool bIsSelected
        {
            get; set;
        }
    }
}
